home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 126-150 / scopedisk143 / vlt4.824 / docs / vlt4p226.doc < prev    next >
Text File  |  1995-03-19  |  17KB  |  332 lines

  1. +----------------------------------------------------------------------+
  2. |                                                                      |
  3. |                  D I S C L A I M E R   N O T I C E                   |
  4. |                                                                      |
  5. |  This document and/or  portions of the material and  data furnished  |
  6. |  herewith,  was developed under sponsorship of the U.S. Government.  |
  7. |  Neither the U.S.  nor  the U.S.D.O.E.,  nor  the  Leland  Stanford  |
  8. |  Junior University, nor their employees,  nor their respective con-  |
  9. |  tractors, subcontractors, or their employees, makes  any warranty,  |
  10. |  express or implied, or assumes any liability or responsibility for  |
  11. |  accuracy,  completeness or  usefulness of any information, appara-  |
  12. |  tus, product or process disclosed, or represents that its use will  |
  13. |  not infringe privately-owned rights.  Mention of any product,  its  |
  14. |  manufacturer, or suppliers shall not, nor is it intended to, imply  |
  15. |  approval, disapproval, or fitness for any particular use. The U.S.  |
  16. |  and  the University at all times  retain the right to use and dis-  |
  17. |  seminate same for any purpose whatsoever.                           |
  18. |                                                                      |
  19. +----------------------------------------------------------------------+
  20.  
  21.  
  22.                 VLT 4.226  Additional Documentation
  23.                 ===================================
  24.  
  25.                         (C) Copyright 1989
  26.  
  27.                                by
  28.  
  29.                         W.G.J. Langeveld
  30.  
  31.                 Stanford Linear Accelerator Center
  32.  
  33.  
  34. General
  35. =======
  36.  
  37.     The most prominent features of this release are a scrollback buffer
  38. with all sorts of bells and whistles (such as ARexx control!), and full 
  39. support of External Protocols following version 2.0 of the specification.
  40.     This release is the first to come in two different flavors. By
  41. popular request, there is now a version of VLT called VLT jr. which does not
  42. have the Tektronix emulator. This saves some 35k in the size of the
  43. executable, which is substantial if you never use graphics and are cramped
  44. for disk space. For that reason there are now two archives, that are
  45. identical except for the executable. When you read this, you have hopefully
  46. downloaded the one you wanted. For the occasion, VLT has also acquired a new
  47. icon, which is considerably smaller than the previous one. 
  48.     Before describing the new features, let me first address some minor
  49. things that changed.
  50.  
  51. The minor changes
  52. =================
  53.  
  54.     The Tektronix emulation pretty much is the same, except that the 
  55. Graphic cursor (cross hair) is now allowed to address the top part of the
  56. 4096x4096 address space. It used to be limited to 3120 in the vertical
  57. direction. Also, when the Tektronix screen is reopened because of receipt of
  58. the clear Tek screen command sequence from the host, the screen is no longer
  59. redrawn before being erased, which was a little silly.
  60.     VLT now supports ANSI background colors. In order to use these, select
  61. Rendering Mode = Color, and make sure that the ANSI Color subitem is checked.
  62. When VLT receives ANSI color sequences it will in that case also respond to
  63. requests to change the background color: <esc>[40m through <esc>[47m.
  64.     VLT's menus have changed a little. The Kermit Options submenu now has
  65. an item that allows one to set the maximum packet size. The Change Directory
  66. subitem that used to be there was moved to the main Transfer menu, because it
  67. affects the default directory of all protocols (in fact of VLT in general) and
  68. not only that of Kermit. The default directory is now also saved with the
  69. configuration. On startup, VLT CD's automatically to that directory. If you do
  70. not want this to happen, save your configuration with an empty string for the
  71. current directory. The next time VLT will come up in the directory you executed
  72. it from.
  73.     The displays for file transfers now contain a lot more information,
  74. even though the built-in protocols don't update many of the fields yet.
  75. However,  Rick Huebner's XPRzmodem updates almost all fields.
  76.     The maximum allowed serial buffer size is now enforced and set at 32k.
  77. Entering a larger size would sometimes lead to a crash.
  78.     A small problem with updating the menu check marks afer certain script
  79. commands was fixed.
  80.     The font selection code was again rewritten. The VLT graph font would
  81. remain 11 points tall after switching to 8 point fonts, and probably v.v.
  82. OpenFont is too darn smart, if you ask me (or stupid, as the case may be).
  83.     A long-standing but not usually very noticable bug with VLT's
  84. handling of <can> (^X) characters was finally found. Under certain 
  85. circumstances, this character was interpreted as introducing an escape
  86. sequence, rather than cancelling one.
  87.     Aborting a VLT script (not an ARexx macro) can now be accomplished 
  88. from the keyboard by typing the escape key.
  89.     The position of the screen function gadgets was optimized a little for
  90. the various modes of operation.
  91.     With VLT running on its custom screen, the console window is now
  92. sizable and draggable, just as with VLT running on the Workbench. However,
  93. there are no front/back gadgets. People that use window/screen rearrangement
  94. tools should beware of the possibility that the console window (and any other
  95. windows VLT uses) may wind up behind the main borderless window. It is usually
  96. possible to push this borderless window behind all other windows, and this
  97. should make such things as the console window reappear.
  98.     By request, the VT100 answer-back string (Device Status Report, DSR) is
  99. now programmable by means of a script command called setdsr. The DSR is VLT's
  100. response to the sequence <esc>[c from the host. VLT used to respond, and the
  101. default is currently: <esc>[1;7c. Only the part *after* the <esc> should be
  102. given in the setdsr command: e.g. setdsr [1;2;7c. The DSR string is stored as
  103. part of the configuration file.
  104.         The right-Amiga V keyboard command no longer displays VLT's version 
  105. number. It is now associated with the review buffer.
  106.     
  107.  
  108. XPR support
  109. ===========
  110.  
  111.     One of the major changes is the full support of the XPR spec as of XPR
  112. version 2.0. This involved a few changes to VLT's serial handling code, but
  113. extensive testing has shown that nothing is seriously broken.
  114.     All functions mentioned in the XPR 2.0 document are now supported.
  115. However, they have only been tested using a beta version of Rick Huebner's
  116. XPRzmodem 2.0 and an alpha version of Steve Walton's Kermit, as turned into an
  117. XPR by Marco Papa. As mentioned earlier, the status display has been
  118. considerably enhanced, which together with the xpr_options function is the main
  119. culprit for the increase in size of VLT.
  120.     Initialization strings will now be taken from environment variables if
  121. they are set up. For example, if you type
  122.  
  123.     1> set xprascii=50
  124.  
  125.     from a CLI, then this value (50 ticks) will be the default delay
  126. between 80 character blocks using the xprascii.library. Similarly for the
  127. initialization strings of other XPRs, see their documentation.
  128.     It turns out that the script commands XPR SEND and XPR RECEIVE have
  129. never worked properly. They do now.
  130.  
  131.  
  132. Review Buffer
  133. =============
  134.  
  135.     The other major enhancement is the addition of the review (scrollback)
  136. buffer. It comes in the form of a library ("review.library"), so that people
  137. that don't have enough real estate (memory and disk-space wise) don't have to
  138. use it. If you can't afford the space or memory, just delete the review.library
  139. from the libs: directory, and VLT will not use it. Review.library takes up
  140. about 20k worth of disk space. However, its buffer size is adjustable, so you
  141. can  choose how much memory it takes up if you do use it.
  142.     The history buffer stores the text that the host sends to VLT in a 
  143. circular buffer of a particular size that can be changed by the user. If the
  144. buffer becomes full, the oldest parts of the text "scroll off the top", i.e.
  145. are lost. Line oriented hosts (such as your average VAX and BBS) send lines of
  146. text followed by a "return" character. With such hosts, the review buffer just
  147. appends the new lines of text to the bottom of the buffer as they come in, and
  148. if necessary discards lines from the top of the buffer. However, there are also
  149. page oriented hosts, such as IBM mainframes running VM/CMS, and other systems
  150. when running page oriented applications. With such hosts, the review buffer
  151. will keep a record of what is on each page, scrolling a page at a time if the
  152. page is cleared by the host or from the menu. Individual changes on any one
  153. page in particular are not kept track of, however. Also, the review buffer
  154. does not remember the color of any text or if the text used graphics fonts.
  155.     Note, that the history buffer is not a substitute for the capture
  156. facility. The main purpose of the history buffer is to keep track of what was
  157. displayed on VLT's screen at all times. To ASCII download files you still
  158. should use the capture facility or the XPRascii protocol.
  159.     The history buffer is also used to restore VLT's screen contents when
  160. you change the number of lines or columns, or when you change the properties of
  161. the screen e.g. to have more or fewer colors, be in a different interlace mode,
  162. to be on the Workbench or when the window is resized when you are on the
  163. Workbench. Since the review buffer doesn't remember which color was used, the
  164. restored screen will always be "monochrome", and may look funny in places if
  165. the original contents used any of the graphics fonts.
  166.     When you save your configuration, the current size of the review buffer
  167. is also saved, as well as the dimensions and location of the review window when
  168. it was last opened.
  169.     The following sections explain how to manipulate the history buffer in
  170. detail.
  171.  
  172. History Buffer: View
  173. --------------------
  174.  
  175.     There is a new menu item in the VLT menu, called History Buffer, with
  176. two subitems. The first one, "View", opens the Review window and allows you to
  177. scroll through the history of what used to be on VLT's screen, using scroll
  178. bars at the right-hand side and at the bottom. This option now has the keyboard
  179. command right-Amiga V, which used show VLT's version number.
  180.     The review window has its own menus, described below.
  181.  
  182. Buffer menu:
  183. - - - - - - -
  184.  
  185. Clear       - Clears the buffer, wipes out all contents.
  186. Save        - Saves all selected (see later) lines to the current file.
  187.               (This overwrites what was previously in that file).
  188. Save As     - Saves all selected lines to a file. Brings up a file requester.
  189. New Page    - Resets the history buffer to start a new page. For use with page
  190.               oriented hosts. Prevents the host from overwriting the current
  191.               "page".
  192. Buffer Size - Allows the user to change the buffer size. For speed reasons, the
  193.               history buffer is a little wasteful with memory. The number of
  194.               lines of history equals the size divided by the number of columns.
  195.               Note, that when the number of columns is changed, the review
  196.               buffer is automatically adjusted to the new number of columns,
  197.               with the same buffer size. Therefore, when the new number of
  198.               columns is larger than the old number, the top lines of the
  199.               review buffer will be lost. VLT enforces a minimum number
  200.               of columns of 80, so that resizing the window on the Workbench
  201.               to less than 80 columns doesn't cause too much data to be lost.
  202. Quit        - Closes the review window.
  203.  
  204.  
  205. Select menu:
  206. - - - - - - -
  207.  
  208. Select All       - Select all lines in the buffer. Only selected lines can be
  209.                    saved. Before trying to save anything you must first select
  210.                    your lines.
  211. Deselect All     - Causes all lines in the buffer to become unselected.
  212. Invert Selection - Causes all selected lines to become unselected and all
  213.                    unselected ones to become selected.
  214.  
  215.  
  216. Move menu:
  217. - - - - - -
  218.  
  219.     The options in this menu allow you to browse around in the history 
  220. buffer. You can do this a line at a time or a "page" at a time. A page in this
  221. context means the number of lines displayed in the window. These functions are
  222. also available from the keyboard with arrow keys and the shift and ctrl keys.
  223. Remember that in order for this to work, the review window has to be the active
  224. window. Of course, you can also use the scroll bars.
  225.  
  226.  
  227. Search menu:
  228. - - - - - - -
  229.  
  230. Search Forward - Search from the top of the buffer down to a certain string.
  231.                  This option will request a search string from the user.
  232. Search Reverse - Search from the bottom of the buffer backwards to a certain
  233.                  string. This option will also request a search string.
  234. Repeat Forward - Search forward for another occurrence of the search string.
  235. Repeat Reverse - Same, but in the backward direction.
  236.  
  237.  
  238. History Buffer: Edit/Send
  239. -------------------------
  240.  
  241.     There is another subitem in VLT's History Buffer submenu: Edit/Send.
  242. This item causes selected lines to pop up in a string requester. You can then
  243. change these lines interactively. If you press the return key, the modified
  244. string is sent to the host. If you click on Cancel, the next selected line is
  245. presented, etc. If you enter an escape character as the first character in the
  246. line, or if you press the escape key in VLT's main window, or if you select
  247. Edit/Send from VLT's menu again, this process stops. In any case, all lines
  248. that are presented to the user this way are automatically deselected.
  249.     This subitem can be invoked from the keyboard by holding the
  250. right-Amiga key and pressing the TAB key (don't get confused with
  251. right-Amiga I!).
  252.  
  253.  
  254. Mouse Support
  255. -------------
  256.  
  257.     Aside from using the menu options in the Review Window's Select menu,
  258. you can also use the mouse to select and drag-select lines. To select a line,
  259. just click on it with the left mouse button. To deselect it, click on it again.
  260. You can also drag select. First click on a line you want to select or deselect.
  261. Hold down the left mouse button, and drag the mouse up or down. When the first
  262. line was a selected line, it becomes deselected, and all other lines you move
  263. the mouse across also become deselected: the line you click on first,
  264. determines whether you will select or deselect in the drag-select operation.
  265. When you move the mouse over the top or bottom line, the display will start to
  266. scroll (a line at a time). If you drag the mouse a little higher or lower, the
  267. scrolling speed will become higher (a quarter page at a time). To select most
  268. of the buffer except for a few lines, use drag-select in combination with the
  269. menu options for selecting lines.
  270.  
  271.  
  272. Script/ARexx support
  273. --------------------
  274.  
  275.     There is a new script command to manipulate the review history buffer.
  276. The command is "review", and it has many suboptions that are described in the
  277. table. below. All commands consist of a single character, and some of them allow
  278. an "argument". There may be white space between the command and the argument
  279. but there doesn't have to be.
  280.  
  281.  
  282. Command: | Argument:      | Meaning:
  283. ---------+----------------+--------------------------------------------------
  284.          |                |
  285.     A    | <filename>     | Save selected lines to <filename>.
  286.     B    | <size>         | Set buffer size to <size> bytes.
  287.     C    |                | Clear review buffer.
  288.   S,D,I  |                | Select, Deselect, Invert all lines.
  289.   S,D,I  | S              |    "       "        "    Search line only.
  290.   S,D,I  | T              |    "       "        "    from search line to top.
  291.   S.D.I  | B              |    "       "        "    from search line to bottom.
  292.     J    | <lines>        | Jump relative to search line by <lines> lines.
  293.          |                |   Negative numbers search towards top.
  294.     K    | <line>         | Jump relative to <line> from top.
  295.          |                |   0 is top line. Negative numbers count from bottom:
  296.          |                |   -1 is bottom line.
  297.     F    | <string>       | Search from top Forward for <string>.
  298.     R    | <string>       | Search from bottom in Reverse for <string>.
  299.     G    |                | Repeat search Forward.
  300.     T    |                | Repeat search Reverse.
  301.     H    | <string>       | Search from last search position Forward for <string>.
  302.     Y    | <string>       | Search from last search position Reverse for <string>.
  303.     M    | UL  UP  T      | Move Up    Line, Up    Page, to       Top.
  304.          | DL  DP  B      |  "   Down  Line, Down  Page, to       Bottom.
  305.          | LC  LP  LM     |  "   Left  Char, Left  Page, to Left  Margin.
  306.          | RC  RP  RM     |  "   Right Char, Right Page, to Right Margin.
  307.     O    |                | Open window.
  308.     P    |                | Scroll page (saves what is currently on screen).
  309.     Q    |                | Close window.
  310.     U    |                | Update window.
  311.     X    | <name>         | If previous command successful, set environment
  312.          |                |   variable <name> to current search line. Else
  313.          |                |   erase the environment variable <name>.
  314.     W    |                | Resave to current file (overwrites existing file).
  315.          |                |
  316.  
  317.  
  318.  
  319.     To play around with these commands, switch on VLT's console window
  320. and type such things as:
  321.  
  322.         ~rev "S"
  323.     ~rev "R some_string"
  324.     ~rev "M UP"
  325.  
  326.     Etc. Well, that's it for this version, have fun!
  327.  
  328.  
  329.  
  330.  
  331.     Willy Langeveld, 9 October 1989
  332.